############################################################################
#
# Makefile for ServerHandle
#
#############################################################################
include $(CRM_SRC)/env/common.mk

INCLUDE = -I.\
	-I$(CRM_INCLUDE)/ppm_client \
	-I$(CRM_INCLUDE)/easy_xml \
	  -I$(CRM_INCLUDE)/database \
	  -I$(CRM_INCLUDE)/interface \
	  -I$(CRM_INCLUDE)/common \
	  -I$(CRM_INCLUDE)/ossxml \
	  -I$(CRM_INCLUDE)/pubfunction \
          -I$(CRM_INCLUDE)/sys_manager \
          -I$(CRM_INCLUDE)/sys_man_table \
	  -I$(CRM_INCLUDE)/log_manager \
	  -I$(CRM_INCLUDE)/log_man_table \
          -I$(CRM_INCLUDE)/custtable\
          -I$(CRM_INCLUDE)/customer\
          -I$(CRM_INCLUDE)/popedom_entity \
          -I$(CRM_INCLUDE)/popedom_table \
          -I$(CRM_INCLUDE)/domain \
          -I$(CRM_INCLUDE)/assign_table\
          -I$(CRM_INCLUDE)/assign\
          -I$(CRM_INCLUDE)/timelimit_table \
          -I$(CRM_INCLUDE)/timelimit \
	  -I$(CRM_INCLUDE)/bom \
	  -I$(CRM_INCLUDE)/bomtable \
	  -I$(CRM_INCLUDE)/caller_gen \
	  -I$(CRM_INCLUDE)/caller_gen_table \
	  -I$(CRM_INCLUDE)/flow \
	  -I$(CRM_INCLUDE)/flowtable \
	  -I$(CRM_INCLUDE)/ppm \
	  -I$(CRM_INCLUDE)/ppm_inter \
	  -I$(CRM_INCLUDE)/ppm_table \
          -I$(CRM_INCLUDE)/crm_server \
	  -I$(TUXDIR)/include 



CFLAGS = $(INCLUDE) $(INCLUDE_COMMON) $(CFLAGS_COMMON)

MYLIBS = \
op_ppm_client_handler.o \


all: ppmclienthandle

ppmclienthandle: $(MYLIBS)
	$(AR) -r -v ppmclienthandle.a $?

clean:
	rm -f *.o
	rm -f *.a
install:
	cp *.h* $(CRM_INCLUDE)/ppm_client/
	cp *.a  $(CRM_BIN)/
